package com.liveinstars.im.domain.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.liveinstars.im.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 临时好友表
 * </p>
 *
 * @author 8btc
 * @since 2020-03-31
 */
@Data
@ToString
public class TempRelation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 目标用户Id
     */
    private Long toId;

    /**
     * 是否屏蔽
     */
    private Boolean shield;
}
